Repository navigation
feat(hanzi-structure): unified Wubi decomposition standard v1 - #313
Merged
Merged
Conversation
Signed-off-by: wangzhizhou <824219521@qq.com>
- docs/standards/wubi-decomposition.md: scheme-parameterized standard (86 now, 98/new-century via profiles) - 237-root inventory; full requires every component in inventory with matching key - schema v7: scheme/standardVersion; positionMismatch is a standard diagnostic - B0 3k full 2554/partial 292/unknown 154; 1k full 910 - ADR-358/report 284; validator/tests updated Signed-off-by: wangzhizhou <824219521@qq.com>
wangzhizhou
added a commit
that referenced
this pull request
Nov 14, 2026
Signed-off-by: wangzhizhou <824219521@qq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
内容
按“统一标准拆字逻辑”落地 ADR-358 / 标准 v1:
docs/standards/wubi-decomposition.md:标准逻辑与方案数据分离;data/learning/wubi86-root-inventory.tsv:237 条标准字根/键位(官方字根 + 标准变体);build_b0.py --root-inventory:full必须逐组件在标准清单中且键位与码位一致;scheme/standardVersion;positionMismatch成为标准诊断,full必须为空;validate_b0.py强制该契约。结果
减少的 full 主要是 D2 组件不在标准字根清单、或末位识别码槽/键位不能自洽的条目;它们被如实降为 partial,不再“看起来完整”。
98 / 新世纪
标准逻辑、B0 schema、N2/N3、测试与报告通用;字根表、码表、键位、识别码规则和拆字数据必须各自提供(需许可来源)。不能把 86 的拆字数据直接移植。
验证
validate_b0.pyPASSmake macos-offline-tests67 文件 / 335 例 PASSmake verifyPASS(538 产物零网络符号)